<template>
    <div class="person">
        Mouse position is at: {{ x }}, {{ y }}
    </div>
</template>

<script lang="ts" setup name="Person">
import  { useMouse } from '@/hooks/mouse'

const { x, y } = useMouse()

</script>

<style scoped>
.person {
    background-color: skyblue;
    box-shadow: 0 0 10px;
    border-radius: 10px;
    padding: 20px;
}

li {
    font-size: 20px;
}

button {
    margin: 0 10px;
}
</style>